{

  "description": "Adds browser action icon to toolbar to choose user agent string from popup menu. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#user-agent-rewriter",
  "manifest_version": 2,
  "name": "user-agent-rewriter",
  "version": "1.0",
  "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/user-agent-rewriter",

  "applications": {
    "gecko": {
      "id": "user-agent-rewriter@mozilla.org"
    }
  },

  "permissions": [
    "webRequest", "webRequestBlocking", "http://useragentstring.com/*" 
  ],
  
  "background": {
    "scripts": ["background.js"]
  },
  
  "browser_action": {
    "default_icon": "button/choose_ua.png",
    "default_title": "Choose a user agent",
    "default_popup": "popup/choose_ua.html"
  }

}
